home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Enlighten DSM 1.1
/
SGI EnlightenDSM 1.1.iso
/
sol2x
/
common.z
/
common
/
config
/
cmds
next >
Wrap
Text File
|
1998-06-30
|
9KB
|
259 lines
#
# Copyright (c) 1990-1998 Enlighten Software Solutions, Inc.
# -- All Rights Reserved --
#
#
# Cmds file for (Sun) SOLARIS
#
AT /usr/bin/at
BANNER /bin/banner
ACCEPT /usr/lib/accept %
ALLPRINTERS cd /usr/spool/lp/admins/lp/printers; /bin/ls
ALLPRINTCLASS cd /usr/spool/lp/admins/lp/printers; /bin/ls; \
cd /usr/spool/lp/admins/lp/classes ; /bin/ls
ATTPS /bin/ps
ATTPSEF /bin/ps -ef | $ENLIGHTEN/bin/e_col \
0:8L8 8:6r6 14:6r6 20:3r3 23:9R10 32:8l10 40:9r9 49:0-0
ENLCANCEL exec /bin/cancel %
CAT /bin/cat '%'
CRONTAB /bin/crontab
DFTFIX exec /usr/sbin/df -t
DICT1 exec /bin/echo
DICT2 exec /bin/cat $ENLIGHTEN/config/names
DICT3 exec /bin/cat $ENLIGHTEN/config/names /usr/dict/words
DISABLE exec /bin/disable -r"Disabled by system administrator" %
DUS exec /bin/du -s % | /bin/awk ' { printf "\%d\\n", ($$1 + 1) / 2 } '
ENABLE exec /bin/enable %
FILETYPE exec /bin/file '%'
FSCK /usr/sbin/fsck %
FUSER exec /usr/sbin/fuser % 2> /dev/null | \
/usr/bin/tr ' ' '\\012' | /bin/sort -u
LPCMD /bin/lp
GETMODELS /bin/ls %
LPADMIN /usr/sbin/lpadmin %
LPSCHED /usr/lib/lpsched
LPSHUT /usr/sbin/lpshut
LPSTATA exec /bin/lpstat -a
LPSTATC exec /bin/lpstat -c
LPSTATD exec /bin/lpstat -d
LPSTATO exec /bin/lpstat -o
LPSTATP exec /bin/lpstat -p
LPSTATR exec /bin/lpstat -r
LPSTATV exec /bin/lpstat -v
MAIL /bin/mail %
MKDIR /bin/mkdir %
MKNOD /usr/sbin/mknod %
NEWALIASES /usr/bin/newaliases
PACK /bin/pack
RETENSION /bin/mt -f % retension
RMFR /bin/rm -fr "%"
RUPTIME /bin/ruptime -a
RWHOA /usr/bin/rwho -a
SHELL /bin/sh
MOUNT exec /sbin/mount %
UCBWHO /bin/who
WHO /bin/who -u
WHOU $ENLIGHTEN/bin/whou
# Password mamanagement program. We could update all the files ourselves,
# but why re-invent the wheel.
PASSWMGMT /usr/bin/passmgmt %
SH /bin/sh
RSH /bin/rsh
CSH /bin/csh
KSH /bin/ksh
RKSH /bin/rksh
TCSH /bin/tcsh
GETBOOTCMDS /bin/echo /etc/rc*.d/* /sbin/rc[0-9] | /bin/tr ' ' '\012'
BOOTFILTER /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /bin/sort -u
# The awk script is to remove the first five fields from the file(s).
# For AT&T type cron use /usr/spool/cron/crontabs/*/*
GETCRONCMDS /bin/echo /usr/spool/cron/crontabs/* | /bin/tr ' ' '\012'
CRONFILTER /usr/bin/egrep -v "^\#" % | \
/bin/awk ' { for (i = 6; i <= NF; i++) \
printf ("\%s ", $$i); printf ("\\n"); } ' | \
$ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | /bin/sort -u
# Command to determine if the autologout daemon gets started in an "rc" file.
FINDALDCMD /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
/bin/fgrep ulogout | /bin/wc -l
# Command to determine if the diskusage watchdog gets started in an "rc" file.
FINDDWDCMD /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
/bin/fgrep bin/watchdisk | /bin/wc -l
# Command to determine if the network watchdog gets started in an "rc" file.
FINDNETDWDCMD /bin/cat % | $ENLIGHTEN/bin/shpp | $ENLIGHTEN/bin/shcmd | \
/bin/fgrep bin/netwatchdisk | /bin/wc -l
# Command to create any type of login initialization scripts
RCCMD /bin/sh $ENLIGHTEN/scripts/user.rc %
BACKEND $ENLIGHTEN/bin/backend
COMPLETION $ENLIGHTEN/bin/p_completion
DFT exec $ENLIGHTEN/bin/dft
EPOOL $ENLIGHTEN/bin/e_pool
ERASE $ENLIGHTEN/bin/erase -v %
MOTNOTICE "$ENLIGHTEN/bin/xdonotice -label \"ENLIGHTEN utar\" \
-m1 \"Please mount new Volume\""
OLNOTICE "$ENLIGHTEN/bin/donotice -label \"ENLIGHTEN utar\" \
-m1 \"Please mount new Volume\""
HEXED $ENLIGHTEN/bin/hexed '%'
LPMOVE exec $ENLIGHTEN/bin/p_lpmove %
MAKENIS /bin/sh $ENLIGHTEN/config/makenis %
MYA2PS $ENLIGHTEN/bin/psgen -l2
NETUTAR $ENLIGHTEN/bin/netutar
NETWATCHDISK $ENLIGHTEN/bin/netwatchdisk % &
OBVIOUS exec $ENLIGHTEN/bin/uobvious -d -
PPING exec $ENLIGHTEN/bin/p_ping -s
REMLP $ENLIGHTEN/bin/remlp
RFDIST $ENLIGHTEN/bin/rfdist
SECBOOT exec $ENLIGHTEN/bin/secboot
SECBREAKIN exec $ENLIGHTEN/bin/secbreakin
SECCRON exec $ENLIGHTEN/bin/seccron
SECDEVICE exec $ENLIGHTEN/bin/secdevice
SECGROUP exec $ENLIGHTEN/bin/secgroup
SECHOME exec $ENLIGHTEN/bin/sechome
SECPASSWD exec $ENLIGHTEN/bin/secpasswd
SECVITAL exec $ENLIGHTEN/bin/secvital
KP $ENLIGHTEN/bin/kp
SF $ENLIGHTEN/bin/sf
SNAPDIFF exec $ENLIGHTEN/bin/p_snapdiff %
SWAP exec $ENLIGHTEN/bin/p_swap SOLARIS
ULOGOUT exec $ENLIGHTEN/bin/ulogout %
WATCHDISK exec $ENLIGHTEN/bin/watchdisk % &
WATCHDOG exec $ENLIGHTEN/bin/watchdog % -Wi -WP 975 75 &
XWATCHDOG exec $ENLIGHTEN/bin/xwatchdog -iconic % &
P_WIZPRINTER exec $ENLIGHTEN/bin/p_wizprinter %
P_WIZDISK exec $ENLIGHTEN/bin/p_wizdisk %
P_WIZUSER exec $ENLIGHTEN/bin/p_wizuser %
P_VULNERABLE exec $ENLIGHTEN/bin/p_vulnerable %
E_FINDKEY $ENLIGHTEN/bin/e_findkey %
E_NIPMASTER $ENLIGHTEN/bin/e_nipmaster
P_ALLDISKS exec $ENLIGHTEN/bin/p_alldisks
P_PARTITIONS exec $ENLIGHTEN/bin/p_partition %
P_MAKEDEV $ENLIGHTEN/bin/p_makedev SOLARIS %
P_FORMAT $ENLIGHTEN/bin/p_format SOLARIS %
P_NEWPARTS exec $ENLIGHTEN/bin/p_newparts %
P_HASFS exec $ENLIGHTEN/bin/p_hasfs %
NEWFS /usr/sbin/newfs %
RSHCMD /bin/rsh -l enlcmd %
RLOGIN /bin/rlogin -l enlcmd %
TALK /bin/talk %
NETCAT $ENLIGHTEN/bin/p_write %
ENLWINDOW /usr/openwin/bin/xterm -e sh -c 'trap exit 1 2 3 4; \
stty sane; clear; % ; echo ; \
echo \"Hit Enter/Return to continue\\c\"; \
read ans; rm -f %; exit' &
FORWINDOW /usr/openwin/bin/xterm -e sh -c 'stty sane; clear; % ; echo; \
echo \"Hit Enter/Return to continue \\c\"; \
read ans; exit'
BACKWINDOW /usr/openwin/bin/xterm -e sh -c 'stty sane; clear; % ; echo; \
echo \"Hit Enter/Return to continue \\c\"; \
read ans; exit' &
YPCAT /bin/ypcat %
YPMAKE (cd /var/yp; make)
REMCP /usr/ucb/rcp
REMSH /usr/ucb/rsh
TAPEDEVS /usr/bin/ls -1 /dev/rmt/*
CRONTAB /usr/bin/crontab %
DOMAINNAME /bin/domainname
UNAME /bin/uname -a
NODENAME /bin/uname -n
IFCONFIG /usr/sbin/ifconfig
LANSCAN /usr/sbin/ifconfig -a
YPWHICH /bin/ypwhich
SET_HOSTNAME /bin/uname -S
MAKE_CMD /usr/bin/make
RMALL /bin/rm -rf
XMKDIR /bin/mkdir -p
KILL /bin/kill
YPBIND /usr/lib/netsvc/yp/ypbind
XYPCAT /bin/ypcat
PS_CMD /bin/ps -ef
NAMED /usr/sbin/in.named
LANSCAN /usr/sbin/ifconfig -a
# NFS
MOUNTP /usr/sbin/mount -p
MOUNTNFS /usr/sbin/mount -O -F nfs %
UMOUNT /usr/sbin/umount %
EXPORTFS /usr/sbin/share -F nfs %
SHAREFS /usr/sbin/share
UNEXPORTFS /usr/sbin/unshare -F nfs
# network printters
XLPADMIN /usr/sbin/lpadmin
LPACCEPT /usr/lib/accept
LPENABLE /usr/bin/enable
LPSYSTEM /usr/sbin/lpsystem
LPDISABLE /usr/bin/disable
LPCANCEL /usr/bin/cancel
LPSTAT /bin/lpstat -t
LPSYSTEM_STAT /usr/sbin/lpsystem -l
# Clock Set/Clock Sync
SETTIME $ENLIGHTEN/bin/settime
# cron managment
XCRONTAB /bin/crontab
WALL /usr/sbin/wall
P_SHUTDOWN $ENLIGHTEN/bin/p_shutdown %
STATUSMAP $ENLIGHTEN/bin/sm -p % -x
TELNET /usr/bin/telnet %
# NIS+ commands
NISCHTTL /bin/nischttl
NISCHMOD /bin/nischmod
NISCHOWN /bin/nischown
NISCHGRP /bin/nischgrp
NISRMDIR /bin/nisrmdir
NISMKDIR /bin/nismkdir
CHKEY /bin/chkey
KEYLOGIN /usr/bin/keylogin
NISINIT /usr/sbin/nisinit
NISPING /usr/lib/nis/nisping
NISPASSWD /bin/nispasswd
NISGRPADM /bin/nisgrpadm
NISTBLADM /bin/nistbladm
NISADDENT /usr/lib/nis/nisaddent
NISUPDKEYS /usr/lib/nis/nisupdkeys
NISSETUP /usr/lib/nis/nissetup
NISADDCRED /bin/nisaddcred
RPCNISD /usr/sbin/rpc.nisd
KEYSERV /usr/sbin/keyserv
NISCATP /bin/niscat -o
NISCAT /bin/niscat
CACHEMGR /usr/sbin/nis_cachemgr
NISPSERVER /usr/lib/nis/nisserver
NISCLIENT /usr/lib/nis/nisclient
NISPOPULATE /usr/lib/nis/nispopulate
NISADM /bin/nisgrpadm
NISLS /bin/nisls
RENLD $ENLIGHTEN/bin/renld
RENLDC $ENLIGHTEN/bin/renldc
REBOOT /etc/reboot
SHUTDOWN /etc/shutdown
RWALL /usr/etc/rwall
XENLNALIVE $ENLIGHTEN/bin/xenln_alive